package com.schoolcloud.social.service;

import com.schoolcloud.common.model.PageDTO;
import com.schoolcloud.common.model.UserInfo;
import com.schoolcloud.social.entity.SocEventParticipants;
import com.baomidou.mybatisplus.extension.service.IService;
import com.schoolcloud.social.query.EventParticipantsQuery;

import java.util.List;

/**
* @author hongmizfb
* @description 针对表【soc_event_participants(活动参与者记录)】的数据库操作Service
* @createDate 2025-03-02 10:36:56
*/
public interface SocEventParticipantsService extends IService<SocEventParticipants> {


    PageDTO<SocEventParticipants> getPage(EventParticipantsQuery eventParticipantsQuery);

    void addEventParticipants(SocEventParticipants socEventParticipants);

    void updateEventParticipants(SocEventParticipants socEventParticipants);

    Long getUserJoinEventCount(Integer userId);

    List<SocEventParticipants> getUserJoinEvent(String joinerId);

    Long getJoinerCount(Integer eventId);

    Long getEventJoinerCount(Integer eventId);
}
